package com.kingint.mbg.bas.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户打卡记录关联表
 * </p>
 *
 * @author wxh
 * @since 2021-01-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="UmsClock对象", description="用户打卡记录关联表")
public class UmsClock implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户id")
    @TableField("ums_id")
    private Long umsId;

    @ApiModelProperty(value = "酒店id")
    @TableField("hotel_id")
    private Integer hotelId;

    @ApiModelProperty(value = "当前打卡的月份")
    @TableField("clock_month")
    private Integer clockMonth;

    @ApiModelProperty(value = "打卡这个月的日")
    @TableField("clock_day")
    private Integer clockDay;

    @ApiModelProperty(value = "打卡开始时间")
    @TableField("start_time")
    private Date startTime;

    @ApiModelProperty(value = "打卡结束时间")
    @TableField("end_time")
    private Date endTime;

    @ApiModelProperty(value = "打卡时间段（1是早班，2是中班，3是晚班）")
    @TableField("clock_period")
    private Integer clockPeriod;

    @ApiModelProperty(value = "迟到记录（没有迟到为0，（按分钟计算），")
    @TableField("late")
    private Integer late;

    @ApiModelProperty(value = "是否矿工（0没有，1矿工）")
    @TableField("absent")
    private Integer absent;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "逻辑删除（0正常，1删除）")
    @TableField("status")
    private Integer status;


}
